package com.hdoit.ares.logical.official.model;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Entity;
import javax.persistence.Transient;

import org.apache.ibatis.type.Alias;

import com.tennetcn.common.message.ModelBase;
/**
 * @author      yujinhui
 * @email       
 * @createtime  2018年01月10日 15:55:43
 * @comment
 */


@Entity
@Table(name="official_artical")
public class Artical extends ModelBase{
    //主键id
    @Id
    @Column(name="id")
    private String id;

    //标题
    @Column(name="title")
    private String title;

    //文章分类id
    @Column(name="typeId")
    private String typeId;

    //文章类别
    @Column(name="style")
    private String style;

    //文章重要性
    @Column(name="importantType")
    private String importantType;

    //是否显示
    @Column(name="display")
    private int display;

    //创建时间
    @Column(name="createTime")
    private Date createTime;

    //摘要
    @Column(name="simple")
    private String simple;

    //文章作者
    @Column(name="author")
    private String author;

    //邮箱
    @Column(name="email")
    private String email;

    //关键字
    @Column(name="keyword")
    private String keyword;

    //外部链接
    @Column(name="href")
    private String href;

    //图片地址
    @Column(name="imgUrl")
    private String imgUrl;

    //视频地址
    @Column(name="videoUrl")
    private String videoUrl;

    //文章内容
    @Column(name="content")
    private String content;

    //删除标识
    @Column(name="deleteMark")
    private String deleteMark;
    
    //视频简介
    @Column(name="introduction")
    private String introduction;
    
    //媒体类型
    @Column(name="medioType")
    private String medioType;
    
    //媒体类型
    @Column(name="sort")
    private int sort;
    
    //媒体类型
    @Column(name="fileUrl")
    private String fileUrl;
    
    //点赞次数
    @Transient
    private int praiseCount;
    
    //浏览次数
    @Transient
    private int glanceCount;
    
    
    
    public String getId(){
        return this.id;
    }
    public void setId(String id){
         this.id=id;
    }

    public String getTitle(){
        return this.title;
    }
    public void setTitle(String title){
         this.title=title;
    }

    public String getTypeId(){
        return this.typeId;
    }
    public void setTypeId(String typeId){
         this.typeId=typeId;
    }

    public String getStyle(){
        return this.style;
    }
    public void setStyle(String style){
         this.style=style;
    }

    public String getImportantType(){
        return this.importantType;
    }
    public void setImportantType(String importantType){
         this.importantType=importantType;
    }

    public int getDisplay(){
        return this.display;
    }
    public void setDisplay(int display){
         this.display=display;
    }

    public Date getCreateTime(){
        return this.createTime;
    }
    public void setCreateTime(Date createTime){
         this.createTime=createTime;
    }

    public String getSimple(){
        return this.simple;
    }
    public void setSimple(String simple){
         this.simple=simple;
    }

    public String getAuthor(){
        return this.author;
    }
    public void setAuthor(String author){
         this.author=author;
    }

    public String getEmail(){
        return this.email;
    }
    public void setEmail(String email){
         this.email=email;
    }

    public String getKeyword(){
        return this.keyword;
    }
    public void setKeyword(String keyword){
         this.keyword=keyword;
    }

    public String getHref(){
        return this.href;
    }
    public void setHref(String href){
         this.href=href;
    }

    public String getImgUrl(){
        return this.imgUrl;
    }
    public void setImgUrl(String imgUrl){
         this.imgUrl=imgUrl;
    }

    public String getVideoUrl(){
        return this.videoUrl;
    }
    public void setVideoUrl(String videoUrl){
         this.videoUrl=videoUrl;
    }

    public String getContent(){
        return this.content;
    }
    public void setContent(String content){
         this.content=content;
    }

    public String getDeleteMark(){
        return this.deleteMark;
    }
    public void setDeleteMark(String deleteMark){
         this.deleteMark=deleteMark;
    }
	public String getIntroduction() {
		return introduction;
	}
	public void setIntroduction(String introduction) {
		this.introduction = introduction;
	}
	public String getMedioType() {
		return medioType;
	}
	public void setMedioType(String medioType) {
		this.medioType = medioType;
	}
	public int getSort() {
		return sort;
	}
	public void setSort(int sort) {
		this.sort = sort;
	}
	public int getPraiseCount() {
		return praiseCount;
	}
	public void setPraiseCount(int praiseCount) {
		this.praiseCount = praiseCount;
	}
	public int getGlanceCount() {
		return glanceCount;
	}
	public void setGlanceCount(int glanceCount) {
		this.glanceCount = glanceCount;
	}
	public String getFileUrl() {
		return fileUrl;
	}
	public void setFileUrl(String fileUrl) {
		this.fileUrl = fileUrl;
	}
    
}